From b260314a3986b9936ccfb33945def926604acc8a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Mon, 25 Aug 2025 14:29:55 +0200 Subject: [PATCH] gdm/authPrompt: Clear the inactive entry too In multi-factor authentication cases we may end up clearing the current entry, but we are potentially leaving a previously filled inactive entry as it is. Avoid this, and clear all the entries we have when clearing the prompt. Part-of: --- js/gdm/authPrompt.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js index 8dcbfe300..d7e94000d 100644 --- a/js/gdm/authPrompt.js +++ b/js/gdm/authPrompt.js @@ -492,6 +492,7 @@ export const AuthPrompt = GObject.registerClass({ clear() { this._entry.text = ''; + this._inactiveEntry.text = ''; this.stopSpinning(); this._authList.clear(); this._authList.hide(); -- 2.39.5